using System;
using System.ComponentModel;
using System.Data;
using System.Runtime.Serialization;

namespace MinCultura.Sipa.DataAccess.EntidadesArtes
{
	/// <summary>
	/// A custom serializable dataset containing 
	/// </summary>
	[Serializable()]
	[DesignerCategory("code")]


	/// <summary>Class for handling datasets</summary>  
		public class InfraestructuraAreasArtisticasData : DataTable
	{
		///
		/// Constants for table and fields mapping
		///
		public const string ART_INFRAESTRUCTURA_AREAS_ARTISTICAS_TABLE = "ART_INFRAESTRUCTURA_AREAS_ARTISTICAS";

		public const string ARD_ID_FIELD = "ARD_ID";
		public const string INF_ID_FIELD = "INF_ID";


		protected InfraestructuraAreasArtisticasData(SerializationInfo info, StreamingContext context)
		{
			//
		}

		public InfraestructuraAreasArtisticasData()
		{
			BuildDataTables();
		}

		/// <summary>
		/// Creates the following datatables: Localidades
		/// </summary>
		private void BuildDataTables()
		{
			this.TableName = ART_INFRAESTRUCTURA_AREAS_ARTISTICAS_TABLE;
			Columns.Add(ARD_ID_FIELD, typeof (Decimal));
			Columns.Add(INF_ID_FIELD, typeof (Decimal));
		}

		/// <summary>
		/// Add a new row to the table
		/// </summary>
		/// <param name="row">Dataset row
		public void addInfraestructuraAreasArtisticas(DataRow row)
		{
			this.Rows.Add(row);
		}

	}

}